﻿#pragma once

#include "../MonsterObject.h"
#include "../../MirDatabase/MonsterInfo.h"
#include <vector>
#include <any>

using namespace Server::MirDatabase;
using namespace Server::MirEnvir;
namespace S = ServerPackets;

namespace Server::MirObjects::Monsters
{
    class Jar1 : public MonsterObject
    {
    protected:
        virtual unsigned char getAttackRange() const;

        bool getCanMove() const override;
        bool getCanRegen() const override;

        bool InAttackRange() override;

        Jar1(MonsterInfo *info);

    public:
        void Die() override;

    protected:
        void CompleteDeath(std::vector<std::any> &data) override;

    private:
        void SpawnSlave();
    };
}
